package com.e2edour.facade

import com.e2edour.facade.abc.CommonResponse
import com.e2edour.facade.req.{WeiXinCheckSignatureReq, WeiXinMsgReq}
import com.e2edour.facade.res.WeiXinMsgRes

/**
  * <p>
  * 微信消息处理类
  *
  * @author King 
  * @since 2017/1/17
  */
trait WeiXinManagerFacade {

  /**
    * 处理微信消息
    *
    * @param req
    * @return
    */
  def handlerMsg(req: WeiXinMsgReq): WeiXinMsgRes

  /**
    * 微信验证签名
    *
    * @return
    */
  def checkSignature(req: WeiXinCheckSignatureReq): CommonResponse

}
